home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 11 - 1995 / 11.11 Nov 95 / ODF Beeper / Include / BeeperDef.h < prev    next >
Encoding:
Text File  |  1995-09-25  |  1.6 KB  |  62 lines  |  [TEXT/MPS ]

  1. //==========================================================
  2. //
  3. //    File:                BeeperDef.h
  4. //    Release Version:    $ 1.0d9 $
  5. //
  6. //    Author:                M.Boetcher
  7. //
  8. //    Copyright:    (c) 1993-95 by Apple Computer, Inc., all rights reserved.
  9. //
  10. //==========================================================
  11.  
  12. #ifndef BEEPERDEF_H
  13. #define BEEPERDEF_H
  14.  
  15. // Kind
  16. #define kODFBeeperKind "Apple:ODFExamples:Kind:ODFBeeper"
  17.  
  18. // Category
  19. #define kODFBeeperCategory "Apple:ODFExamples:Category:ODFBeeper"
  20.  
  21. // Class ID
  22. #define kODFBeeperEditor "ODFExamples::ODFBeeper"
  23.  
  24. // Presentation
  25. #define kODFBeeperPresentation "Apple:Presentation:ODFBeeper"
  26.  
  27. // Editor User String
  28. #define kODFBeeperEditorUserString "ODFBeeper 1.0d9"
  29.  
  30. // Kind User String
  31. #define kODFBeeperKindUserString "ODF Beeper Example"
  32.  
  33. // Category User String
  34. #define kODFBeeperCategoryUserString "Control"
  35.  
  36. // Beeper OSType
  37. #define kODFBeeperOSType 'DFED'
  38.  
  39. // Sound OSType
  40. #define kMacSoundOSType 'snd '
  41.  
  42. // Sound Data Type
  43. #define kODFSoundOSType "Apple:OSType:Scrap:snd "
  44.  
  45. // Data Interchange Types
  46. #define kHFSFlavorType "Apple:OSType:Scrap:hfs "
  47. #define kSoundScrapKind "Apple:OSType:Scrap:snd "
  48. #define kSoundFileKind  "Apple:OSType:FileType:sfil"
  49. #define kScriptFileKind  "Apple:OSType:FileType:osas"
  50. #define kScriptScrapKind "Apple:OSType:Scrap:scpt"
  51.  
  52. #define kKindCategoryMapId            128
  53. #define kEditorKindMapId            kKindCategoryMapId + 1
  54. #define kEditorUserStringMapId        kEditorKindMapId + 1
  55. #define kKindUserStringMapId        kEditorUserStringMapId + 1
  56. #define kCategoryUserStringMapId    kKindUserStringMapId + 1
  57. #define kOldMacOSTypeMapId            kCategoryUserStringMapId + 1
  58. #define kEditorPlatformKinds        kOldMacOSTypeMapId + 1
  59.  
  60. #endif
  61.  
  62.